From: Wei Liu Date: Sun, 25 Jan 2015 16:30:21 +0000 (+0000) Subject: git-checkout.sh: use "mkdir -p" X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~3707^2~3 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=4a659273b920e4e158dd1a1a3e0d59ef4392709d;p=xen.git git-checkout.sh: use "mkdir -p" Otherwise mkdir extras/mini-os fails because extras doesn't exist. Signed-off-by: Wei Liu Cc: Ian Campbell Cc: Ian Jackson Acked-by: Ian Campbell --- diff --git a/scripts/git-checkout.sh b/scripts/git-checkout.sh index 15b3ce9661..20ae31ff23 100755 --- a/scripts/git-checkout.sh +++ b/scripts/git-checkout.sh @@ -13,7 +13,7 @@ set -e if test \! -d $DIR-remote; then rm -rf $DIR-remote $DIR-remote.tmp - mkdir $DIR-remote.tmp; rmdir $DIR-remote.tmp + mkdir -p $DIR-remote.tmp; rmdir $DIR-remote.tmp $GIT clone $TREE $DIR-remote.tmp if test "$TAG" ; then cd $DIR-remote.tmp